home *** CD-ROM | disk | FTP | other *** search
/ Dynamic Graphics Magazine (Alt) / Dynamic Graphics Magazine (Version B).iso / pc / dgm / image.dir / 00015.ls < prev    next >
Encoding:
Text File  |  1997-03-25  |  188 b   |  12 lines

  1. global gCastMem
  2.  
  3. on hForward
  4.   if gCastMem = 141 then
  5.     set gCastMem to 50
  6.   else
  7.     set gCastMem to gCastMem + 1
  8.   end if
  9.   set the castNum of sprite 5 to gCastMem
  10.   updateStage()
  11. end
  12.